<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .box{
            height: 100px;
            background-color: #fff;
            border-top: 5px solid orangered;
            border-bottom: 1px solid gray;

        }

        .box a {
            width: 150px;
            height: 50px;
            background-color: #fff;
            display: inline-block;
            text-align: center;
            line-height: 30px;
            text-decoration: none;
        }

        a:hover{
            color: orangered;
            background-color: gray;
        }


    </style>

</head>
<body>
    
    <div class="box">
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>
        <a href="#">新浪导航</a>

    </div>
    
</body>
</html>